package com.power.sifa.info.model.pageInfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.plf.common.domain.BasePageInfo;
import com.power.sifa.info.model.enumeration.Law_SearchType;
import com.power.sifa.info.model.enumeration.Tp_law;
import io.swagger.annotations.ApiModel;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * @ClassName law_docKeywordPageInfo
 * @Author xiongzw
 * @Date 2023/11/16 9:31
 * @Description
 * @Version: 1.0
 **/

@Data
@ApiModel(value="法律表关键字条件查询")
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Law_docKeywordPageInfo extends BasePageInfo {

    /**
     * 查询类型
     * {@link Law_SearchType}
     */
    private Integer searchType;

    /**
     * 法律类型
     * {@link Tp_law}
     */
    private Integer lawType;

    /**
     * 关键字
     */
    private String keyWord;

    /**
     * 关键字分词
     */
    private List<String> conWord;

    /**
     * 发布开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date pubStartDate;

    /**
     * 发布结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date pubEndDate;


    /**
     * 施行开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date execStartDate;

    /**
     * 施行结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date execEndDate;
}
